package asher.dotatbg.constants;

import java.io.File;

/**
 * 常量类
 * @author AsherYuan
 *
 */
public final class Constants {

	/**
	 * web根路径
	 */
	public static final String WEB_ROOT = System.getProperty("user.dir") + File.separator + "webroot";
	/**
	 * class文件根路径
	 */
	public static final String CLASS_ROOT = System.getProperty("user.dir") + File.separator + "webroot" + File.separator + "WEB-INF" + File.separator + "classes";
	/**
	 * 全局应用名
	 */
	public static final String APP_NAME = "DotaTBG";
	/**
	 * 监听的IP地址
	 */
	public static final String IPADDRESS = "127.0.0.1";
	/**
	 * 监听的端口
	 */
	public static final int PORT = 8086;
	/**
	 * 监听的游戏服务器的IP地址
	 */
	public static final String GAME_IPADDRESS = "127.0.0.1";
	/**
	 * 监听的游戏服务器的端口
	 */
	public static final int GAME_PORT = 8087;
	/**
	 * 静态资源库的缓冲区大小
	 */
	public static final int STATICREPOSITORY_BUFFER_SIZE = 8096;
}